#include <TimelineEventHandler.h>
Public Member Functions | |
| TimelineEventHandler (osg::ref_ptr< osgProducer::Viewer > viewer, osg::ref_ptr< osg::Group > quadGroup) | |
| ~TimelineEventHandler () | |
| bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
| void | select (const osgGA::GUIEventAdapter &ea) |
| void | changeStateRed () |
| void | changeStateWhite () |
| void | changeStateGrey () |
| void | paintWhiteAll () |
| void | paintGrey () |
Private Attributes | |
| osg::ref_ptr< osgProducer::Viewer > | _viewer |
| osg::ref_ptr< osg::Group > | _quadGroup |
| osg::StateSet * | stateset |
| osg::StateSet * | statesetG |
| osg::StateSet * | statesetOld |
| int | isBeforeHit |
|
||||||||||||
|
A constructor. initializes private members |
|
|
A destructor. |
|
|
a normal member. this function identifies the non-selected frames, change color states of the frames as grey |
|
|
a normal member. this function identifies the selected frame, change color state of the frame that is clicked as red |
|
|
a normal member. this function identifies the non-selected frames, change color states of the frames as white |
|
||||||||||||
|
a normal member taking two arguments and returning bool.
|
|
|
a normal member. this function set material properties of osg::Groups |
|
|
a normal member. this function set material properties of osg::Groups |
|
|
a normal member taking one argument and returning none.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6-NO